package com.chixing.day03_oop;

public class PersonTest {
    public static void main(String[] args) {
        Person person1=new Person("Smith",22,"男","false");
        Person person2=new Person("Lindy",24,"女","false");
        person1.CanMarry(person2);
        person2.CanMarry(person1);

    }
}
